package com.twetec.cms.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.twetec.cms.model.operter.CmsOperter;
import com.twetec.cms.model.po.system.SystemSitePermissionPO;
import com.twetec.cms.model.vo.system.SystemSitePermissionPageListVO;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhxl
 * @since 2021-03-16
 */
public interface SystemSitePermissionService extends IService<SystemSitePermissionPO> {

    /**
     * 分页搜索列表
     */
    SystemSitePermissionPageListVO pageSearchList(String name, String status, Date startTime, Date endTime, List<Long> userIdList, CmsOperter cmsOperter, Integer page, Integer limit);

    /**
     * 修改状态
     */
    boolean updateStatusById(Long id, String status, CmsOperter cmsOperter);
}
